home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
More Anime Pin-Up Beauties
/
More Anime Pin-Up Beauties.iso
/
pc
/
east
/
gpx05.dir
/
00193_Script_193
< prev
next >
Wrap
Text File
|
1998-06-22
|
3KB
|
126 lines
-- Initialize of Girls GrandPrix
on initGPX
global gFulCol
global gPathPict
global gPathLine
global gPathItem
global gPathAiff
global gBGMnum
global gCurPal
global gBackFrame
global gBOXnum
global gSLDnum
global gSLDint
global gSLDply
global gWait
global gScore
put 1 into gSLDnum
put 1 into gBOXnum
put 3 into gSLDint
put 1 into gSLDply
put 5 into gWait
if (envCheckMAC()=FALSE) then
-- if (envCheckPC()=FALSE) then
quit
end if
cursor 4
put pathName() & "EAST:PAINT8:" into gPathPict
put pathName() & "EAST:LINEART:" into gPathLine
put pathName() & "EAST:ITEM8:" into gPathItem
put pathName() & "EAST:AIFF:" into gPathAiff
if (gFulCol = 1) then
put pathName() & "EAST:PAINT24:" into gPathPict
put pathName() & "EAST:ITEM24:" into gPathItem
end if
set the soundEnabled to TRUE
aiffSound(0)
put "PL-000" into gCurPal
-- aiffSound(1)
-- set the exitLock to TRUE
set the keyDownScript to "keyBoard()"
-- +++++++++++++++++++++++++++++++++ environment checker
on envCheckMAC
global gFulCol
if (the colorDepth < 8 ) then
alert "256 Color mode is required"
return FALSE
end if
if ((the colorDepth > 16) AND (the memorySize < (8000*1024))) then
alert "Your system does not have enough memory to run this program"
return FALSE
end if
if (the memorySize < (5000*1024)) then
alert "A minimum of 5 MB of free ram is required."
return FALSE
end if
if (the colorDepth > 8 ) then
put 1 into gFulCol
else
put 0 into gFulCol
end if
return TRUE
-- +++++++++++++++++++++++++++++++++ environment checker
on envCheckPC
global gFulCol
if (the colorDepth < 8 ) then
alert "256 Color mode is required"
return FALSE
end if
if (the colorDepth > 8 ) then
put 1 into gFulCol
else
put 0 into gFulCol
end if
return TRUE
-- ++++++++++++++++++++++++++++++++ KEY BOARD handler
on keyBoard
global gBgmNum
if (the key = "Q" AND commandDown()) then
termGPX()
end if
if (the key = "S" AND commandDown()) then
if (the soundEnabled = TRUE) then
aiffSound(0)
set the soundEnabled to FALSE
else
set the soundEnabled to TRUE
aiffSound(gBgmNum)
end if
end if
-- ++++++++++++++++++++++++++++++++ terminate NureNure
on termGPX
cursor 4
set the keyDownScript to EMPTY
go to frame "ENDING"
cursor -1
upDateStage
quit